package com.xnfh.equipment.viewmodel

import com.xnfh.common.bean.EquipmentGl
import com.xnfh.framework.bean.RespStateData
import com.xnfh.network.base.BaseRepository
import com.xnfh.network.manager.ApiManager
import okhttp3.RequestBody

/**
 * @Description:
 * @Author: ziheng
 * @CreateDate: 2023/12/27 18:46
 * @UpdateUser: ziheng
 * @UpdateDate: 2023/12/27 18:46
 * @UpdateRemark: 更新说明
 */
class InternetThingsViewModelRes : BaseRepository() {
    suspend fun requestWeatherList(body: RequestBody, data: RespStateData<EquipmentGl>) = dealResp(
        { ApiManager.api.requestWeatherList(body) }, data
    )
}